<template>
	<view>
		<!-- 搜索框 -->
	<view class="aa">
	<uni-easyinput placeholder="请输入商品名称" prefixIcon="search"></uni-easyinput>
	</view>
	<!-- 搜索历史 -->
	<view class="x" style="display: flex;justify-content: space-between;">
	<view>历史搜索</view>
	<view class="da" style="display: flex;flex-direction: row;">
	<image src="../../static/垃圾桶.png" class="lajitong"></image>
	<view>清空历史搜索</view>
	</view>
	</view>
	
	
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
	}
	},
	methods:{
		
	}
	}
</script>

<style>
	.x {
		display: flex;
		/* 打开弹性布局 */
		flex-direction: row;
		/* 横 */
	
	}
	
	.y {
		display: flex;
		/* 打开弹性布局 */
		flex-direction: column;
		/* 竖 */
	}
	.aa{
		margin-top: 20rpx;
		width: 700rpx;
		margin: 0 auto;
	}
	.lajitong{
		width: 50rpx;
		height: 50rpx;
	}
	.da{
		
	}
</style>